<script setup>
defineProps({
  logoTitle: String,
  logoUrl: String,
  clickHerf: String
})
</script>
<template>
  <div class="n-left">
    <a :href="clickHerf">
      <img :src="logoUrl" alt="" id="logo" />
    </a>
    <el-text id="logoTitle" size="large">{{ logoTitle }}</el-text>
  </div>
</template>
<style scoped>
.n-left {
  height: 60px;
  display: flex;
  align-items: center;
}

.n-left img {
  width: 50px;
  height: 50px;
  border-radius: 23%;
  cursor: pointer;
}

.n-left span {
  padding-left: 8px;
  padding-top: 10px;
  font-weight: 600;
  font-size: 25px;
}
#logo {
  transition: all 0.5s ease;
  transition-timing-function: cubic-bezier(0.49, 1.59, 0.46, -0.21);
}

#logo:hover {
  transform: rotate(1turn) scale(1.2, 1.2);
}
</style>
